package com.rosh.rpc.client.boot;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: rosh
 * @Date: 2022/6/14 00:04
 */
@Configuration
public class RpcClientBootstrap implements InitializingBean {


    @Autowired
    private RpcClientRunner rpcClientRunner;


    @Override
    public void afterPropertiesSet() {

        rpcClientRunner.run();

    }
}
